package com.swpu.model.query;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @author 宋建博
 * @date 2023/6/7
 */
@Data
public class UserRegisterQuery implements Serializable {

    private static final long serialVersionUID = -5514746960253755420L;
    @NotBlank(message = "登录名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

}
